﻿/*
#------------------------------------------------------------------------------
#-- Program Name:	[dbo].[Extension]
#-- Purpose:		Calls a CLR function to get the extension of a file
#--	Last Update:	09/16/2011
#--					For a complete history - please review comments in Version
#--					Control.
#------------------------------------------------------------------------------
*/
CREATE FUNCTION [dbo].[Extension]
(
	@filePath		nvarchar(4000)
)
RETURNS nvarchar(4000)
WITH EXECUTE AS CALLER
AS
EXTERNAL NAME [centraldba_clr].[UserDefinedFunctions].[Extension]
